package com.accp.info;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Books entity. @author MyEclipse Persistence Tools
 */

public class Books implements java.io.Serializable {

	// Fields

	private Integer id;
	private Publishers publishers;
	private Categories categories;
	private String title;
	private String author;
	private Double unitprice;
	private Integer clicks;
	private Timestamp publishdate;
	private String isbn;
	private Integer wordscount;
	private String contentdescription;
	private String aurhordescription;
	private String editorcomment;
	private String toc;
	private Set bookratingses = new HashSet(0);
	private Set orderbooks = new HashSet(0);
	private Set readercommentses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Books() {
	}

	/** minimal constructor */
	public Books(Publishers publishers, Categories categories, String title,
			String author, Double unitprice, Integer clicks,
			Timestamp publishdate, String isbn, Integer wordscount) {
		this.publishers = publishers;
		this.categories = categories;
		this.title = title;
		this.author = author;
		this.unitprice = unitprice;
		this.clicks = clicks;
		this.publishdate = publishdate;
		this.isbn = isbn;
		this.wordscount = wordscount;
	}

	/** full constructor */
	public Books(Publishers publishers, Categories categories, String title,
			String author, Double unitprice, Integer clicks,
			Timestamp publishdate, String isbn, Integer wordscount,
			String contentdescription, String aurhordescription,
			String editorcomment, String toc, Set bookratingses,
			Set orderbooks, Set readercommentses) {
		this.publishers = publishers;
		this.categories = categories;
		this.title = title;
		this.author = author;
		this.unitprice = unitprice;
		this.clicks = clicks;
		this.publishdate = publishdate;
		this.isbn = isbn;
		this.wordscount = wordscount;
		this.contentdescription = contentdescription;
		this.aurhordescription = aurhordescription;
		this.editorcomment = editorcomment;
		this.toc = toc;
		this.bookratingses = bookratingses;
		this.orderbooks = orderbooks;
		this.readercommentses = readercommentses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Publishers getPublishers() {
		return this.publishers;
	}

	public void setPublishers(Publishers publishers) {
		this.publishers = publishers;
	}

	public Categories getCategories() {
		return this.categories;
	}

	public void setCategories(Categories categories) {
		this.categories = categories;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Double getUnitprice() {
		return this.unitprice;
	}

	public void setUnitprice(Double unitprice) {
		this.unitprice = unitprice;
	}

	public Integer getClicks() {
		return this.clicks;
	}

	public void setClicks(Integer clicks) {
		this.clicks = clicks;
	}

	public Timestamp getPublishdate() {
		return this.publishdate;
	}

	public void setPublishdate(Timestamp publishdate) {
		this.publishdate = publishdate;
	}

	public String getIsbn() {
		return this.isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public Integer getWordscount() {
		return this.wordscount;
	}

	public void setWordscount(Integer wordscount) {
		this.wordscount = wordscount;
	}

	public String getContentdescription() {
		return this.contentdescription;
	}

	public void setContentdescription(String contentdescription) {
		this.contentdescription = contentdescription;
	}

	public String getAurhordescription() {
		return this.aurhordescription;
	}

	public void setAurhordescription(String aurhordescription) {
		this.aurhordescription = aurhordescription;
	}

	public String getEditorcomment() {
		return this.editorcomment;
	}

	public void setEditorcomment(String editorcomment) {
		this.editorcomment = editorcomment;
	}

	public String getToc() {
		return this.toc;
	}

	public void setToc(String toc) {
		this.toc = toc;
	}

	public Set getBookratingses() {
		return this.bookratingses;
	}

	public void setBookratingses(Set bookratingses) {
		this.bookratingses = bookratingses;
	}

	public Set getOrderbooks() {
		return this.orderbooks;
	}

	public void setOrderbooks(Set orderbooks) {
		this.orderbooks = orderbooks;
	}

	public Set getReadercommentses() {
		return this.readercommentses;
	}

	public void setReadercommentses(Set readercommentses) {
		this.readercommentses = readercommentses;
	}

}